package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello() {
        return"hello Spring Boot";
    }

    @RequestMapping("/hello1")
    public Integer hello2() {
        return 111;
    }
}
